package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbBannerUserPush;
import com.quanyan.user.model.db.TbBannerUserPushExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbBannerUserPushMapper {
    int countByExample(TbBannerUserPushExample example);

    int deleteByExample(TbBannerUserPushExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbBannerUserPush record);

    int insertSelective(TbBannerUserPush record);

    List<TbBannerUserPush> selectByExample(TbBannerUserPushExample example);

    TbBannerUserPush selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbBannerUserPush record, @Param("example") TbBannerUserPushExample example);

    int updateByExample(@Param("record") TbBannerUserPush record, @Param("example") TbBannerUserPushExample example);

    int updateByPrimaryKeySelective(TbBannerUserPush record);

    int updateByPrimaryKey(TbBannerUserPush record);
}